d:\WebServers\sphinx-0.9.9\bin\indexer --rotate --merge news news_delta --config d:\WebServers\home\volynpost.net\sphinx\sphinx.conf
d:\WebServers\sphinx-0.9.9\bin\indexer --rotate --merge articles articles_delta --config d:\WebServers\home\volynpost.net\sphinx\sphinx.conf
d:\WebServers\sphinx-0.9.9\bin\indexer --rotate --merge blogs blogs_delta --config d:\WebServers\home\volynpost.net\sphinx\sphinx.conf
d:\WebServers\sphinx-0.9.9\bin\indexer --rotate --merge walls walls_delta --config d:\WebServers\home\volynpost.net\sphinx\sphinx.conf

mysql -h localhost -u sphinx -pRkSr6MvyfE0cGPBwPeybRlPJ -e "USE volynpost; UPDATE sphinx_delta_counter SET date_show_last_post = (SELECT max(UNIX_TIMESTAMP(date_show)) FROM news WHERE UNIX_TIMESTAMP(date_show) <= UNIX_TIMESTAMP()) - 360 WHERE index_name = 'news';"
mysql -h localhost -u sphinx -pRkSr6MvyfE0cGPBwPeybRlPJ -e "USE volynpost; UPDATE sphinx_delta_counter SET date_show_last_post = (SELECT max(UNIX_TIMESTAMP(date_show)) FROM articles WHERE UNIX_TIMESTAMP(date_show) <= UNIX_TIMESTAMP()) - 360 WHERE index_name = 'articles';"
mysql -h localhost -u sphinx -pRkSr6MvyfE0cGPBwPeybRlPJ -e "USE volynpost; UPDATE sphinx_delta_counter SET date_show_last_post = (SELECT max(UNIX_TIMESTAMP(date_show)) FROM blogs WHERE UNIX_TIMESTAMP(date_show) <= UNIX_TIMESTAMP()) - 360 WHERE index_name = 'blogs';"
mysql -h localhost -u sphinx -pRkSr6MvyfE0cGPBwPeybRlPJ -e "USE volynpost; UPDATE sphinx_delta_counter SET date_show_last_post = (SELECT max(UNIX_TIMESTAMP(date_show)) FROM walls WHERE UNIX_TIMESTAMP(date_show) <= UNIX_TIMESTAMP()) - 360 WHERE index_name = 'walls';"